package com.bishe.bishe.pojo;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
@Table(name = "type")
public class Types implements Serializable {

    @Id
    private Integer typeId;
    private String typeName;
    private int typeState;

    public Types() {
    }

    public Types(Integer typeId, String typeName, int typeState) {
        this.typeId = typeId;
        this.typeName = typeName;
        this.typeState = typeState;
    }

    public int getTypeState() {
        return typeState;
    }

    public void setTypeState(int typeState) {
        this.typeState = typeState;
    }

    public Types(String typeName) {
        this.typeName = typeName;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
}
